/* Copyright (c) 2009-2010, Sean A.O. Harney <sharney3@gmail.com> */

#ifndef FUZZER_SOCKET_H
#define FUZZER_SOCKET_H

/* prototypes */
bool socket_launch(int max_connections, const char *hostname,
		   unsigned int port, int type, const char *vhost);
int socket_connect(const char *hostname, unsigned int port, int type,
		   const char *vhost);
void socket_close(int sock);
bool socket_send(int sock, uint8_t * buf, size_t len);

#endif				/* FUZZER_SOCKET_H */
